add_executable(servo_keyboard_input src/servo_keyboard_input.cpp)
target_include_directories(servo_keyboard_input PUBLIC include)
ament_target_dependencies(servo_keyboard_input  ${THIS_PACKAGE_INCLUDE_DEPENDS})

add_executable(servo_cpp_interface_demo src/servo_cpp_interface_demo.cpp)
target_include_directories(servo_cpp_interface_demo PUBLIC include)
ament_target_dependencies(servo_cpp_interface_demo  ${THIS_PACKAGE_INCLUDE_DEPENDS})

add_executable(force_control2 src/force_control2.cpp)
target_include_directories(force_control2 PUBLIC include)
ament_target_dependencies(force_control2  ${THIS_PACKAGE_INCLUDE_DEPENDS})

add_executable(force_servo src/force_servo.cpp)
target_include_directories(force_servo PUBLIC include)
ament_target_dependencies(force_servo  ${THIS_PACKAGE_INCLUDE_DEPENDS})

add_executable(force_servo2 src/force_servo2.cpp)
target_include_directories(force_servo2 PUBLIC include)
ament_target_dependencies(force_servo2  ${THIS_PACKAGE_INCLUDE_DEPENDS})

add_executable(force_path2 src/force_path2.cpp)
target_include_directories(force_path2 PUBLIC include)
ament_target_dependencies(force_path2  ${THIS_PACKAGE_INCLUDE_DEPENDS})

add_executable(path_fc src/path_fc.cpp)
target_include_directories(path_fc PUBLIC include)
ament_target_dependencies(path_fc  ${THIS_PACKAGE_INCLUDE_DEPENDS})

add_executable(path_fc2 src/path_fc2.cpp)
target_include_directories(path_fc2 PUBLIC include)
ament_target_dependencies(path_fc2  ${THIS_PACKAGE_INCLUDE_DEPENDS})


install(
  TARGETS
    servo_keyboard_input
    servo_cpp_interface_demo
    force_control2
    force_servo
    force_servo2
    force_path2
    path_fc
    path_fc2
  DESTINATION
    lib/${PROJECT_NAME}
)

install(DIRECTORY launch
  DESTINATION share/${PROJECT_NAME}
)

install(DIRECTORY config
  DESTINATION share/${PROJECT_NAME}
)
